package com.team.easyexcel;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author : 陈灰灰
 * @Date: 2022/10/24/14:48
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class DiseaseExcel {
    @ColumnWidth(50)
    @ExcelProperty(value = "身份证")
    private String idcard;
    @ColumnWidth(20)
    @ExcelProperty(value = "姓名")//标记excel标题内容
    private String name;
    @ColumnWidth(10)
    @ExcelProperty(value = "性别")
    private String sex;
    @ColumnWidth(50)
    @ExcelProperty(value = "预约单号")
    private String pnum;
    @ColumnWidth(50)
    @ExcelProperty(value = "患者病例")
    private String cases;
    @ColumnWidth(50)
    @ExcelProperty(value = "医生建议")
    private String suggest;

}
